package com.gxg.kotlin.mydemo10.test

import android.app.Activity
import android.os.Bundle
import android.view.View

import com.bigkoo.convenientbanner.ConvenientBanner
import com.gxg.kotlin.mydemo10.R

/**
 * 作者：Administrator on 2018/2/9 16:57
 * 邮箱：android_gaoxuge@163.com
 */
class Test8 : Activity() {

    private var banner: ConvenientBanner<*>? = null

    val headView: View
        get() {
            val view = View.inflate(this, R.layout.home_head, null)
            banner = view.findViewById(R.id.banner) as ConvenientBanner<*>

            return view
        }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
    }
}
